package net.siufung.core.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;

/**
 * 枚举返回值实体视图对象
 * @author 陈建峰
 * @since 2021/12/28 6:08 下午
 */
@Data
@ApiModel("枚举返回值实体视图对象")
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class EnumsVo implements Serializable {

    private static final long serialVersionUID = -5888403577496823123L;

    @NonNull
    @ApiModelProperty("枚举对象值")
    private Object value;

    @NonNull
    @ApiModelProperty("枚举对象描述")
    private String desc;

    @ApiModelProperty("枚举对象文本")
    private String text;

}
